Skip to main content
POST
/
api
/
image
/
effects
/
image-style-conversion
Photo to Painting
curl --request POST \
  --url https://www.ailabapi.com/api/image/effects/image-style-conversion \
  --header 'Content-Type: multipart/form-data' \
  --header 'ailabapi-api-key: <api-key>' \
  --form image='@example-file' \
  --form 'option=<string>'
{
  "request_id": "",
  "log_id": "",
  "error_code": 0,
  "error_code_str": "",
  "error_msg": "",
  "error_detail": {
    "status_code": 200,
    "code": "",
    "code_message": "",
    "message": ""
  },
  "image": ""
}

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Body

multipart/form-data
image
file
option
string
  • `cartoon`: Cartoon style.
  • `pencil`: Pencil style.
  • `color_pencil`: Color pencil drawing style.
  • `warm`: The style of colorful sugar cube oil painting.
  • `wave`: Oil painting style in surfing in Kanagawa.
  • `lavender`: Lavender oil painting style.
  • `mononoke`: Strange oil painting style.
  • `scream`: Scream oil painting style.
  • `gothic`: Gothic oil painting style.
  • Response

    200 - application/json

    Success

    The response is of type object.